﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Flame.Controls.Common;

namespace Flame.Scintilla
{
   

    class ScintillaNETOverloadList : IOverloadList
    {
        ScintillaNET.OverloadList _overloadList;
        public ScintillaNETOverloadList(ScintillaNET.OverloadList overloadList) { _overloadList = overloadList; }

        public int CurrentIndex { get { return _overloadList.CurrentIndex; } }

        public IEnumerator<string> GetEnumerator() { return (IEnumerator<string>)_overloadList; }
        System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { return _overloadList.GetEnumerator(); }
        public void Add(string item) { _overloadList.Add(item); }
        public void Clear() { _overloadList.Clear(); }
        public bool Contains(string item) { return _overloadList.Contains(item); }
        public void CopyTo(string[] array, int arrayIndex) { _overloadList.CopyTo(array, arrayIndex); }
        public int Count { get { return _overloadList.Count; } }
        public bool Remove(string item) { return _overloadList.Remove(item); }
        public bool IsReadOnly { get { return false; } }
    }
}
